package com.qf.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Device {
    private Integer deviceId;//编号
    private String deviceCoding;//编码
    private String deviceName;//名称
    private String deviceType;//类别
    private Integer deviceStatus;//状态
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date deviceDate;//登记时间
}
